const fs = require('fs')

let floatStr = ''

for(let i = 0;i<100;i++){
    floatStr +=`    {\n`;
    floatStr +=`      "name": "text_size_${i+1}",\n`;
    floatStr +=`      "value": "${i+1}fp"\n`;
    floatStr +=`    }${i<99?',\n':''}`
}

let initContent = `
{
  "float": [
${floatStr}
  ]
}
`
fs.writeFileSync('./script/float.json',initContent,'utf-8')